<template>
	<view>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				weixinCode:""
			}
		},
		onLoad(e) {
			console.log(e.scene)
			this.getLogin();
		},
		methods: {
			getLogin(){
				uni.login({
					provider:'weixin',
					success: (res) => {
						this.weixinCode = res.code;
						this.postWeChatLoginOne();
					}
				})
			},
		}
	}
</script>

<style>

</style>
